* {
    margin: 0px;
    padding: 0px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    background-color: #f4f4f4;
}

//头部
header {
    background-color: #333333;
    height: 40px;
    div {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;
        p {
            margin-left: 70px;
            line-height: 40px;
            color: blanchedalmond;
        }
    }
}

nav {
    >div {
        height: 100px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        aside {
            >img {
                width: 56px;
                height: 56px;
            }
        }
    }
}

//轮播图
.article1 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    .big_img {
        display: flex;
        position: relative;
        ul {
            width: 20%;
            background-color: #a19e9e;
            height: 460px;
            li {
                &:hover .content1 {
                    width: 82%;
                }
                &:hover .content2 {
                    width: 82%;
                }
                &:hover .content3 {
                    width: 82%;
                }
                line-height: 42px;
                .content1,
                .content2,
                .content3 {
                    background-color: white;
                    width: 0;
                    height: 460px;
                    display: flex;
                    flex-direction: column;
                    flex-wrap: wrap;
                    position: absolute;
                    left: 254px;
                    top: 0px;
                    z-index: 2;
                    line-height: 76px;
                    align-items: center;
                    overflow: hidden;
                    transition: 0.1s;
                    div {
                        height: 16%;
                        width: 100px;
                        a {
                            display: block;
                            height: 100%;
                            width: 100%;
                            text-decoration: none;
                            color: black;
                            &:hover {
                                color: #ff7b23;
                            }
                        }
                    }
                }
                >a {
                    position: relative;
                    padding-top: 3px;
                    display: block;
                    height: 42px;
                    width: 239px;
                    padding-left: 15px;
                    text-decoration: none;
                    color: #ffffff;
                    &::after {
                        content: ">";
                        width: 10px;
                        height: 10px;
                        position: absolute;
                        right: 30px;
                        top: 0;
                    }
                    &:hover {
                        background-color: #ff6700;
                    }
                }
            }
        }
        aside {
            position: relative;
            width: 80%;
            height: 460px;
            overflow: hidden;
            background-color: greenyellow;
            section {
                img {
                    width: 100%;
                    height: 460px;
                }
            }
        }
    }
}

//商品内容
.goods {
    width: 80%;
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    div {
        border-radius: 20px;
        margin-top: 10px;
        width: 220px;
        height: 350px;
        overflow: hidden;
        transition: 1s;
        &:hover {
            box-shadow: 1px 1px 10px black
        }
        a {
            height: 100%;
            width: 220px;
            display: block;
            display: flex;
            flex-direction: column;
            text-align: center;
            background-color: white;
            img {
                width: 220px;
                height: 220px;
            }
            p {
                font-size: 18px;
                margin-top: 5px;
                color: black;
            }
            h5 {
                font-size: 15px;
                padding-top: 5px;
                color: black;
                span {
                    margin-left: 10px;
                    font-size: 13px;
                    color: #7d7d7d;
                }
            }
            >span {
                font-size: 25px;
                color: #ff7001;
            }
        }
    }
}

.footer1 {
    background-color: #252527;
    margin-top: 30px;
    text-align: center;
    color: white;
    height: 100px;
    line-height: 50px;
    ul {
        margin-left: 40%;
        display: flex;
        li {
            padding-left: 10px;
            padding-right: 10px;
        }
    }
}

.footer4 {
    position: fixed;
    right: 0px;
    top: 40%;
    background-color: white;
    z-index: 999;
    border: 1px solid #f5f5f5;
    padding: 27px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 84px;
    &:hover {
        color: #ff9600;
    }
    &:hover a {
        color: #ff9600;
    }
    >a {
        color: gainsboro;
    }
    .icon-huidingbu {
        font-size: 30px;
    }
}